<template>
  <div class="tips" id="yxp:toast:2" v-show="visible">{{message}}</div>
</template>
<script>
export default {
  name: 'Total',
  props: {
    tips: {
      type: String
    }
  },
  data () {
    return {
      visible: false,
      message: ''
    }
  }
}
</script>
<style lang="less" scoped>
.tips {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  color: #fff;
  font-size: 14px;
  background: rgba(0,0,0,.5);
  padding: 5px 8px;
  border-radius: 10px;
  z-index: 3100;
}
</style>
